namespace PersistenceObject.Framework
{
    using System;

    [AttributeUsage(AttributeTargets.Property)]
    public class BaseFieldAttribute : System.Attribute
    {
        public BaseFieldAttribute(string columnName)
        {
            this.columnName = columnName;
        }

        public string ColumnName
        {
            get
            {
                return this.columnName;
            }
            set
            {
                this.columnName = value;
            }
        }

        public string TableName
        {
            get
            {
                return this.tableName;
            }
            set
            {
                this.tableName = value;
            }
        }

        private string columnName;
        private string tableName;
    }
}

